<template>
<div class="wrapper">
  <div class="swiper-pagination1"  slot="pagination"></div>
  <div class="title">相关文章</div>
   <div class="hjf_container">
      <div class="hjf_wrapp">
          <div class="hjf_img">
            <img width="100%" height="100%" src="" alt="">
          </div>
          <div class="hjf_text">
            <p class="hjf_p">
              面对消费升级下的消费偏好转移 , 不再以价格导向求获得 
            </p>
            <p class="hjf_b">
                {{detail.creatTime}}
      
            </p>
          </div>
      </div>
      <div class="hjf_wrapp">
          <div class="hjf_img">
            <img width="100%" height="100%" src="" alt="">
          </div>
          <div class="hjf_text">
            <p class="hjf_p">
              面对消费升级下的消费偏好转移 , 不再以价格导向求获得 
            </p>
            <p class="hjf_b">
                {{detail.creatTime}}
            
            </p>
          </div>
      </div>
      <div class="hjf_wrapp">
          <div class="hjf_img">
            <img width="100%" height="100%" src="" alt="">
          </div>
          <div class="hjf_text">
            <p class="hjf_p">
              面对消费升级下的消费偏好转移 , 不再以价格导向求获得 
            </p>
            <p class="hjf_b">
              {{detail.creatTime}}
            </p>
          </div>
      </div>
   </div> 
  
</div>
</template>
<script>
import Services from '@/service/service'
export default {
  name: "SwiperPoP",
  props: {},
  data() {
    return {
      swiperOption: {
        pagination: ".swiper-pagination1",
        loop: true,
        detail:{
          creatTime:''
        }
      }
    };
  },
 created:function(){
   let data={
     param:{
       detail:{
         creatTime:this.detail.creatTime
       }
     }
   };
   Services.myAjax({
     data:data,
     method: "post",
     url: Services.baseUrl + "/SwiperDetails"

   });
   
 }
};
</script>
<style lang="stylus" scoped>
@import '~styles/variables';

.wrapper >>> .swiper-pagination1 {
  margin-left: 3rem;
  margin-top: -0.12rem;
}

.wrapper >>> .swiper-pagination-bullet {
  background-color: #fff !important;
  border-radius: 0;
  width: 0.1rem;
  height: 0.1rem;
}

.wrapper >>> .swiper-pagination-bullet-active {
  background-color: $logoColor !important;
}

.wrapper {
  background-color: $mainBgc;
  min-width: 1rem;
  margin-top: 0.25rem;
  padding: 0.15rem 0.2rem;

  .title {
    border-left: 0.04rem solid $logoColor;
    font-size: 0.23rem;
    padding-left: 0.07rem;
    margin-bottom: 0.1rem;
  }

  .slide {
    min-height: 4rem;

    .item {
      display: flex;
      flex-direction: row;
      white-space: nowrap;
      margin-bottom: 0.01rem;
      margin-left: -0.1rem;
      justify-content: space-around;
      align-content: center;
      align-items: center;
      background: #fff;
      padding: 0.15rem 0;

      .item-h {
        width: 0.66rem;
        height: 0.66rem;
        background: red;
        border-radius: 100%;
      }

      .item-name {
        font-size: 0.2rem;
        margin-left: -0.4rem;
      }
    }
  }
}
</style>
<style lang="scss" scoped>
.hjf_container {
  margin: 40px 10px 0 20px;
  background: #fff;
  border: 1px solid transparent;
  .hjf_wrapp {
    display: flex;
    justify-content: space-between;
    margin: 30px 20px;
    border-bottom: 1px solid #adadad;
    padding-bottom: 30px;

    .hjf_img {
      width: 110px;
      height: 110px;
      background: green;
      flex-shrink: 0;
    }
    .hjf_text {
      width: 140px;
    }
    .hjf_p {
      font-weight: 800;
      font-size: 18px;
      line-height: 20px;
    }
    .hjf_b {
      padding-top: 16px;
      font-size: 16px;
      color: #333;
    }
  }
}
</style>